﻿using JY.Wpf.Core.ViewModelBases;

namespace JY.Wpf.Core.Events
{
    /// <summary>
    /// 设置内容事件模型
    /// </summary>
    public class SetContentEvent
    {
        /// <summary>
        /// 构造器
        /// </summary>
        /// <param name="contentViewModel">内容ViweModel</param>
        public SetContentEvent(ViewModelBase contentViewModel)
        {
            this.ContentViewModel = contentViewModel;
        }
        /// <summary>
        /// 内容ViewModel
        /// </summary>
        public ViewModelBase ContentViewModel { get; set; }
    }
}
